package cn.imnaer.service.rpc.share;

import cn.imnaer.service.persistence.model.SharePhoto;
import cn.imnaer.service.persistence.model.SharePhotoComment;
import cn.imnaer.service.rest.resquest.model.SharePhotoCommentParams;
import cn.imnaer.service.rest.view.model.SharePhotoCommentResponse;
import cn.imnaer.service.rest.view.model.SharePhotoResponse;

import java.util.List;

/**
 * Created by Administrator on 2015/5/9.
 */
public interface SharePhotoCommentComponentRcpApi {

    public SharePhotoResponse saveComment(SharePhotoCommentParams commentParams);

    public SharePhotoResponse deleteComment(String commentId,String userId);

    public Long countBySharePhotoId(String sharePhotoId);

    public Long countBySharePhotoIdAndUserIds(String sharePhotoId, List<String> userIds);

    public Long countBySharePhotoItemIdAndUserIds(String sharePhotoItemId, List<String> userIds);

    public List<SharePhotoCommentResponse> findMyFriendCommentsBySharePhotoItemId(String sharePhotoItemId, String myUserId);






}
